
class TestBase : Test
{

  Void verifyEqFloat(Num n1, Num n2) {
    echo((n1.toFloat-n2.toFloat).abs)
    if ((n1.toFloat-n2.toFloat).abs > 0.0001f) {
      throw Err("TestBase failed: %n1 != %n2")
    }
  }
  
    
  Void verif(Str exp, Obj obj) {
    echo(obj)
    verifyEq(exp,obj.toStr)
  }
}